import {
  Icon,
  Dialog,
  Button,
  Skeleton,
  Toast,
  Uploader,
  Picker,
  RadioGroup,
  Radio,
  Swipe,
  SwipeItem,
  Image as VanImage,
  ImagePreview,
  PullRefresh,
  NavBar,
  NoticeBar
} from 'vant';

export default {
  install(V) {
    V.use(Icon);
    V.use(Dialog);
    V.use(Button);
    V.use(Skeleton);
    V.use(Toast);
    V.use(Uploader);
    V.use(Picker);
    V.use(RadioGroup);
    V.use(Radio);
    V.use(Swipe);
    V.use(SwipeItem);
    V.use(VanImage);
    V.use(ImagePreview);
    V.use(PullRefresh);
    V.use(NavBar);
    V.use(NoticeBar);
  }
};
